package com.jvyou.app.ds.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jvyou.app.ds.domain.entity.Coach;
import org.apache.ibatis.annotations.Select;

/**
 * 教练信息表(Coach)表数据库访问层
 *
 * @author 橘柚
 * @since 2025-04-17 00:42:40
 */
public interface CoachMapper extends BaseMapper<Coach> {

    @Select("select * from ds_coach where user_id = #{userId}")
    Coach getByUserId(Long userId);
}
